# for i in range(1, 10):
#     for j in range(1, 10):
#         num = i * j
#         print(i, '*', j, '=', num, end='\t')
#     print()


i = 0
while i < 9:
    i += 1
    for j in range(1, 10):
        num = i * j
        print(i, '*', j, '=', num, end=' ')
    print()
